package com.dong.ioc.javabased.diTest;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * description
 *
 * @author Administrator 2021/09/06 10:57
 */
public class MyController {

    @Autowired
    private MyServiceImpl myService;

    public MyServiceImpl getMyService() {
        return myService;
    }

    public void setMyService(MyServiceImpl myService) {
        this.myService = myService;
    }

    @Override
    public String toString() {
        return "MyController{" +
                "myService=" + myService +
                '}';
    }
}
